package com.team24.hotel.service;

import com.team24.hotel.domain.ParentPermission;

import java.util.List;

public interface ParentPermissionService {
    List<ParentPermission> findAll();

    ParentPermission findByPrimaryKey(Integer id);

    int saveOrUpdate(ParentPermission parentPermission);

    int deleteParentPermission(Integer id);

    List<ParentPermission> findByUserId(String userId);
}
